Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Renesas Electronics/R7FA4M1AB/PORT0/PCNTR2#0x0
PIDR=0
Port Control Register 2
Pmn Input Data
0 (0): Low input
1 (1): High input.
These bits are read as 0000000000000000.
https://github.com/cmsis-svd/cmsis-svd-data